package com.campus.payment;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 校园点餐系统-支付服务启动类
 *
 * @author ZhaoYuJie
 * @since 2025-01-15
 */
@SpringBootApplication(scanBasePackages = {"com.campus.payment", "com.campus.common"})
@EnableFeignClients
@EnableTransactionManagement
@MapperScan("com.campus.payment.mapper")
public class CampusPaymentApplication {

    public static void main(String[] args) {
        SpringApplication.run(CampusPaymentApplication.class, args);
    }

}